<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class Book extends Model
{
	use HasDateTimeFormatter;


    public function comment()
    {
        return $this->hasMany(BookComment::class,'book_id');
    }
}
